app.service('propertyService',['$http','$q','utilService',function($http,$q,utilService){

    this.change = function($scope){
        var deferred = $q.defer();
        utilService.api({
            url:$scope.app.domain + 'withdrawal/change',
            data:$scope.withdrawal,
            method:'PUT'
        }).then(function(result){
            deferred.resolve(result);
        });
        return deferred.promise;
    }
}]);